; 74RU_x64.INF
;
; Sheetfed Scanner device setup information (64bit)
;
; Copyright (c) 2012

[Version]
Signature="$Windows NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%IPC%
DriverVer=06/27/2012,4.1.1.0
CatalogFile=74RU_x64.cat

;=====Common=======
[SourceDisksNames]
1=%DisksName%,,,

[SourceDisksFiles]
GetInst64.dll=1

[DestinationDirs]
CopySetupFile=10
DefaultDestDir=11

[CoInstaller_CopyFiles]
GetInst64.dll

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"GetInst64.dll,GetInfoCoInstaller"

[InstallInfo]
OriginalInfSourcePath = %1%

[Manufacturer]
%IPC%=Models,NTamd64.5.1,NTamd64.6.0

[Models.NTamd64.5.1]
%IPCProduct_74R%=IPCProduct_74R_NTamd64_51,USB\VID_07b3&PID_0465

[Models.NTamd64.6.0]
%IPCProduct_74R%=IPCProduct_74R_NTamd64_60,USB\VID_07b3&PID_0465

;=====for Windows XP 64bit=======
[IPCProduct_74R_NTamd64_51]
DriverVer=06/27/2012,4.1.1.0
Include=sti.inf
Needs=STI.USBSection,STI.MICRODRIVERSection
SubClass=StillImage
DeviceType=1
Capabilities=0x31
DeviceData=IPCProduct_74R.DeviceData.WIA
AddReg=IPCProduct_74R.AddReg,IPCProduct_74R_Wia.AddReg
;Copyfiles=WinXPCopyFile_74R
ICMProfiles="Sheetfed Scanner(74R).icm"

[WinXPCopyFile_74R]
;WIA74R05.dll

[IPCProduct_74R_NTamd64_51.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[IPCProduct_74R_NTamd64_51.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles


[IPCProduct_74R.AddReg]
HKLM,%InfInfo%,"SetupRegKey",,"Software\Wow6432Node\Plustek\74RU"
HKLM,%InfInfo%,"CommandLine",,"74R"
HKLM,%InfInfo%,"Execution File",,"Install64.exe"

[IPCProduct_74R_Wia.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbscan.sys
HKR,,HardwareConfig,1,4
HKLM,%InfInfo%,"Temp_WiaDriver",,%FN_MicroDriver_74R%
HKLM,%RK_WIA_74R%,PathName,,%11%\%FN_MicroDriver_74R%
HKLM,%RK_WIA_74R%,STAMP,,%FN_STAMP%
HKLM,%RK_WIA_74R%,SIZE,,%FN_SIZE%
HKLM,%RK_WIA_74R%,Brightness,0x00010001,0
HKLM,%RK_WIA_74R%,Contrast,0x00010001,0

[IPCProduct_74R.DeviceData.WIA]
TwainDS=%TwainDSName_74R%
ISISDriverName="ps286plus.pxn"
Server=local
MicroDriver="WIA74R05.dll"
UI DLL=sti.dll
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}

;=====for Windows Vista 64bit later=======
[IPCProduct_74R_NTamd64_60]
DriverVer=06/27/2012,4.1.1.0 
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x31
;Events=PKWIADriver.Events
DeviceData=PKWIADriver_74R.DeviceData
AddReg=IPCProduct_74R_NT60.AddReg,IPCProduct_74R_NT60_Wia.AddReg
;Copyfiles=Win60CopyFile_74R_WIA
ICMProfiles="Sheetfed Scanner(74R).icm"

[PKWIADriver.Events]

[PKWIADriver_74R.DeviceData]
UI Class ID={3221B547-808A-4D1D-AF93-60BB58CD0B1A}
ISISDriverName="ps286plus.pxn"
;StoragePath=%10%\ServiceProfiles\LocalService\Documents\WIADRIVER\STORAGE

[IPCProduct_74R_NT60.AddReg]
HKLM,%InfInfo%,"SetupRegKey",,"Software\Wow6432Node\Plustek\74RU"
HKLM,%InfInfo%,"CommandLine",,"74R"
HKLM,%InfInfo%,"Execution File",,"Install64.exe"

[IPCProduct_74R_NT60_Wia.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbscan.sys
HKR,,HardwareConfig,1,4
HKLM,%RK_WIA_74R%,FullPath,,%11%\%FN_PkWiaDrv20_74R%
HKLM,%RK_WIA_74R%,Brightness,0x00010001,0
HKLM,%RK_WIA_74R%,Contrast,0x00010001,0

HKR,,USDClass,,"{66311895-526B-4865-89A6-42DBB4B67D8B}"
HKCR,CLSID\{66311895-526B-4865-89A6-42DBB4B67D8B},,,"Extended WIA Driver"
HKCR,CLSID\{66311895-526B-4865-89A6-42DBB4B67D8B}\InProcServer32,,,%11%\%FN_PkWiaDrv20_74R%
HKCR,CLSID\{66311895-526B-4865-89A6-42DBB4B67D8B}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{3221B547-808A-4D1D-AF93-60BB58CD0B1A},,,"WIA Driver UI Extension"
HKCR,CLSID\{3221B547-808A-4D1D-AF93-60BB58CD0B1A}\shellex\SegmentationFilter\{150c3c05-d00c-4e68-b9a7-108879df7605}
HKCR,CLSID\{3221B547-808A-4D1D-AF93-60BB58CD0B1A}\shellex\ImageProcessingFilter\{FD1FA12A-A733-41e9-AEE9-359F859D3165}
HKCR,CLSID\{3221B547-808A-4D1D-AF93-60BB58CD0B1A}\shellex\ErrorHandler\{f6e88a9f-1728-41bf-b649-cc43c2ecab19}
;;;HKCR,CLSID\{3221B547-808A-4D1D-AF93-60BB58CD0B1A}\shellex\WiaDialogExtensionHandlers\{b831bb2e-0147-43c8-8b59-d602aa1e33c0}
HKCR,CLSID\{3221B547-808A-4D1D-AF93-60BB58CD0B1A}\shellex\PropertySheetHandlers\{B831BB2E-0147-43c8-8B59-D602AA1E33C0}

HKCR,CLSID\{B831BB2E-0147-43c8-8B59-D602AA1E33C0},,,"Plustek WIA UI Extension"
HKCR,CLSID\{B831BB2E-0147-43c8-8B59-D602AA1E33C0}\InProcServer32,,,%11%\%FN_PkWiaScanUI%
HKCR,CLSID\{B831BB2E-0147-43c8-8B59-D602AA1E33C0}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{150c3c05-d00c-4e68-b9a7-108879df7605},,,"WIA Segmentation Filter"
HKCR,CLSID\{150c3c05-d00c-4e68-b9a7-108879df7605}\InProcServer32,,,%11%\%FN_PkSegFilter%
HKCR,CLSID\{150c3c05-d00c-4e68-b9a7-108879df7605}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{FD1FA12A-A733-41e9-AEE9-359F859D3165},,,"WIA Image Processing Filter"
HKCR,CLSID\{FD1FA12A-A733-41e9-AEE9-359F859D3165}\InProcServer32,,,%11%\%FN_PkImgFilter%
HKCR,CLSID\{FD1FA12A-A733-41e9-AEE9-359F859D3165}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{f6e88a9f-1728-41bf-b649-cc43c2ecab19},,,"WIA Error Handler"
HKCR,CLSID\{f6e88a9f-1728-41bf-b649-cc43c2ecab19}\InProcServer32,,,%11%\%FN_PkWiaError%
HKCR,CLSID\{f6e88a9f-1728-41bf-b649-cc43c2ecab19}\InProcServer32,ThreadingModel,,"Both"



[Win60CopyFile_74R_WIA]
;PkWiaDrv20_74R_x64.dll
;PkSegFilter_x64.dll
;PkImgFilter_x64.dll
;PkWiaError_x64.dll
;PkWiaScanUI_x64.dll
;PkWiaUI_x64.dll 

[IPCProduct_74R_NTamd64_60.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[IPCProduct_74R_NTamd64_60.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[Strings]
IPC="Product"
IPCProduct_74R="Sheetfed Scanner(74R)"
TwainDSName_74R="Sheetfed Scanner(74R)"
RunOnce="Software\Microsoft\windows\CurrentVersion\RunOnce"
InfInfo="Software\USBSCAN INFO\Inf_Info"
RK_WIA_74R="Software\Wow6432Node\Plustek\74RU\Wia"
FN_Inf="74RU_x64.inf"
FN_MicroDriver_74R="WIA74R05.dll"
FN_PkWiaDrv20_74R="PkWiaDrv20_74R_x64.dll"
FN_PkWiaScanUI="PkWiaScanUI_x64.dll"
FN_PkSegFilter="PkSegFilter_x64.dll"
FN_PkImgFilter="PkImgFilter_x64.dll"
FN_PkWiaError="PkWiaError_x64.dll"
FN_STAMP="10030000"
FN_SIZE="2550,3508"
DisksName="Sheetfed Scanner CD-ROM"

;[ControlFlags]
;ExcludeFromSelect=*
